package com.aaa.service;

/**
 * @author bSu
 * @date 2020/6/1 - 15:16
 */

import com.aaa.pojo.Salary;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 工资账套，工资表，service
 */
public interface SalaryService {


    /**
     *
     * @return 所有账套信息
     * 查询所有,分页，pagehelper
     */
    PageInfo<Salary> selectAll(Integer pageNum,Integer pageSize);

    /**
     *
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(Salary record);

    /**
     *
     * @param record
     * @return
     */
    int insertSelective(Salary record);


    /**
     *
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @param id
     * @return
     */
    Salary selectByPrimaryKey(Integer id);

}
